﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mammoth.Libs
{
    public class ValidationError
    {
        public string PropertyName { get; set; }
        public string Error { get; set; }
    }

    public interface IBussinessRuleValidation<T>
    {
        IList<ValidationError> Validate(T model);
    }
}
